package request

import "github.com/dgrijalva/jwt-go"

type Login struct {
	Username string `json:"username" form:"username"`
	Password string `json:"password" form:"password"`
}

type Claims struct {
	Id       uint64
	Username string
	jwt.StandardClaims
}

type LogSearch struct {
	Method string
	Path   string
}

type VisitorLogin struct {
	Id      string `json:"id" form:"id"`
	AdminId uint64 `json:"to_id" form:"to_id"`
	Ip      string `json:"ip" form:"ip"`
}

type Paginate struct {
	Page   int
	Offset int
	Limit  int
}
